// Yang Shuai  Copyright (c) 2022 https://yangbuyi.top.
// Copyright (c) 2022. Yangbuyi, personal projects are not allowed to be commercialized without permission.
// Please keep the information of the original author of the code. Thank you

package top.yangbuyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.yangbuyi.domain.SysUserFaceInfo;
import top.yangbuyi.dto.FaceUserInfo;

import java.util.List;

/**
*  @program:  yangbuyi-face-demo
*  @ClassName:  SysUserFaceInfoMapper
*  @create:  2022-05-15 21:33
 * @author yangbuyi.top
*  @since： JDK1.8   
*  @SysUserFaceInfoMapper: ${desc}$
**/
public interface SysUserFaceInfoMapper extends BaseMapper<SysUserFaceInfo> {

    /**
     * 根据分组Id
     * 从数据库中取出人脸库
     *
     * @param groupId
     * @return 人脸库
     */
    List<FaceUserInfo> getUserFaceInfoByGroupId (Integer groupId);


    /**
     * 新增用户人脸识别
     *
     * @param sysUserFaceInfo 用户人脸识别
     * @return 结果
     */
    public int insertSysUserFaceInfo (SysUserFaceInfo sysUserFaceInfo);

}